package com.zyt.service.impl;

import com.zyt.entity.Users;
import com.zyt.mapper.UsersMapper;
import com.zyt.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UsersServiceImpl implements UsersService {
    @Autowired
    private UsersMapper usersMapper;
    @Override

    public Users queryUserByUserNameAndPassword(String name, String paw) {
        return usersMapper.queryUserByUserNameAndPassword(name,paw);
    }
}
